﻿using System;
namespace BILab.Technical.BI.Facade
{
    public interface IMultidimensionalFacade
    {
        void Close();
        bool Connect(string connString);
        string ConnectionString { get; set; }
        Microsoft.AnalysisServices.AdomdClient.CellSet getCellSet(string mdxQuery);
        System.Collections.Generic.List<string> getCubeList();
        System.Data.DataSet getDataset(string mdxQuery);
        System.Collections.Generic.List<string> getDimension(string cubeName);
        System.Windows.Forms.TreeNode GetDimensionTree(string cubeName);
        System.Collections.Generic.List<string> getHierarchies(string cubeName, string dimName);
        System.Collections.Generic.List<string> getLevels(string cubeName, string dimName, string hierName);
        System.Collections.Generic.List<string> getMembers(string cubeName, string dimName, string hierName, string levelName);
        void getMemberTree(ref System.Windows.Forms.TreeNode r_parentNode, string cubeName, string dimName, string hierName, string levelName);
    }
}
